/*
 * Copyright © 2017 eqxiu.com 北京中网易企秀科技有限公司  All rights reserved.
 */

package cn.hermit.dubbo;

import java.util.ArrayList;
import java.util.List;

/**
 * @author JackGao 高建国
 * @description //TODO 设计说明
 * @date 4/6/2017
 */
public class DubboConfig {

    private String servicePattern;

    private String referencePattern;

    private String application;

    private List<String> registries = new ArrayList<>();

    //only for provider
    private String provider;

    private String monitor;

    private String module;

    //only for provider
    private String protocol;

    //only for consumer
    private String consumer;



    private String group;

    private String version;

    public String getServicePattern() {
        return servicePattern;
    }

    public void setServicePattern(String servicePattern) {
        this.servicePattern = servicePattern;
    }

    public String getReferencePattern() {
        return referencePattern;
    }

    public void setReferencePattern(String referencePattern) {
        this.referencePattern = referencePattern;
    }

    public String getApplication() {
        return application;
    }

    public void setApplication(String application) {
        this.application = application;
    }

    public List<String> getRegistries() {
        return registries;
    }

    public void setRegistries(List<String> registries) {
        this.registries = registries;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public String getMonitor() {
        return monitor;
    }

    public void setMonitor(String monitor) {
        this.monitor = monitor;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getConsumer() {
        return consumer;
    }

    public void setConsumer(String consumer) {
        this.consumer = consumer;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}
